package cn.dlc.com.symboltable;

/**
 * @author 邓立川
 * @date 2021/3/21 16:54
 * @desc 当前类的描述信息
 */
public class SymbolTableTest {
    public static void main(String[] args) {
        SymbolTable<String,Integer> test = new SymbolTable<>();

        test.put("1",1);
        test.put("2",2);
        test.put("3",3);
        test.put("4",4);

        System.out.println("元素个数为：" +test.size());

        System.out.println("test.get(2):" + test.get("2"));

        test.put("2",8);
        System.out.println("元素个数为：" +test.size());

        System.out.println("test.delete(2):" + test.delete("2"));
        System.out.println("元素个数为：" +test.size());
    }
}
